package com.ruoyi.city.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学校列表对象 school
 * 
 * @author tzh
 * @date 2025-09-11
 */
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Long id;

    /** 所在城市ID */
    @Excel(name = "所在城市ID")
    private Long cityId;
    @TableField(exist = false)
    @Excel(name = "所在城市名称")
    private String cityName;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String name;

    /** 学校类型（1:小学 2:中学 3:大学） */
    @Excel(name = "学校类型", readConverterExp = "1=:小学,2=:中学,3=:大学")
    private Long type;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Long schoolStatus;

    /** 图片 */
    @Excel(name = "图片")
    private String imgUrl;

    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }


    public void setSchoolStatus(Long schoolStatus)
    {
        this.schoolStatus = schoolStatus;
    }

    public Long getSchoolStatus()
    {
        return schoolStatus;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }



    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }


}
